import { createRouter, createWebHashHistory } from 'vue-router'

const routes = [
    {
        path: '/',
        name: 'Home',
        component: () => import('../components/Home.vue') // 稍后创建 Home.vue
    },
    {
        path: '/logs',
        name: 'LogManager',
        component: () => import('../components/LogManager.vue')
    },
    {
        path: '/about',
        name: 'About',
        component: () => import('../components/About.vue') // 稍后创建 About.vue
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes
})

export default router
